home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / ulp091b.zip / ULP.DOC < prev    next >
Text File  |  1992-03-02  |  57KB  |  1,090 lines

  1.  
  2.     ┌───────────────────┐
  3.     │                   │ ║                UpLoadProcessor
  4.     │    ╥   ╥ ╥        │ ║
  5.     │    ║   ║ ║ ╓──╖   │ ║                 Version 0.91ß
  6.     │    ║   ║ ║ ║  ║   │ ║
  7.     │    ╙───╜ ╨ ║──╜   │ ║        (c) Copyright 1992 - Stacy Smith
  8.     │            ╨      │ ║
  9.     └───────────────────┘ ║
  10.       ════════════════════╝
  11.  
  12.  
  13.                                 Courtesy of:
  14.  
  15.                         The Bloom Beacon-Picayune BBS
  16.                                (804) 525-9760
  17.                      300-14,400 Baud (USRobotics V.32bis)
  18.                               FidoNet 1:276/112
  19.                                   Intelec
  20.  
  21.                                 Stacy Smith
  22.                               Route 6 Box 189
  23.                            Forest, Virginia 24551
  24.  
  25.  
  26. ┌────────────────────┐
  27. │  1. Introduction:  │
  28. └────────────────────┘
  29.  
  30. This system was born out of a need for a universal upload processor. There are
  31. many alternative systems available, but they are limited to the ZIP format and
  32. perhaps one or two others. Few are able to handle self-extracting archives.
  33. Most are limited in the number of levels of archive nesting allowed in a file
  34. to be tested. All require the use of a third-party duplicate file checking
  35. system if you want to screen your uploads for duplicates.
  36.  
  37. I converted my BBS files over to the ARJ compression format, due to its
  38. superior compression ratio over PKZip and its features over LHA. I do not
  39. intend to debate the merits of one archive format over another, but due to my
  40. decision, the need for a universal upload processor became apparent, so off I
  41. went.
  42.  
  43. While I was at it, I decided to incorporate other technologies, such as
  44. duplicate checking, archive format conversion, information lines, support for
  45. internal description files, etc., into a single package. This program is the
  46. result of my efforts to allow my BBS to handle any archive that my users can
  47. throw at it.
  48.  
  49.  
  50. ┌──────────────────────────────────────────────┐
  51. │  2. Features of the UpLoadProcessor System:  │
  52. └──────────────────────────────────────────────┘
  53.  
  54.       ∙ Identifies and processes ARC, ARJ, HYP, LZH, PAK, ZIP, ZOO and GIF
  55.         files, regardless of their file extensions (ideal for software
  56.         distribution networks, like .SDN files).
  57.       ∙ Identifies and processes ARJ, LZH, PAK and ZIP self-extracting (SFX)
  58.         archives.
  59.       ∙ Scans ARC, PAK, ZIP and ZIP SFX archives for DOS reserved keywords to
  60.         prevent hacking by hex-editing. (ARJ and LHA are resistant to these
  61.         type of hacking attempts).
  62.       ∙ Detects ARJ security envelopes and ZIP authenticity verification (-AV)
  63.         stamps, and can be left alone after processing (configurable).
  64.       ∙ Selected uncompressed files uploaded can be processed and compressed
  65.         using your default format.
  66.       ∙ Removes known BBS ads from archives; includes a BBS ads maintenance
  67.         utility so sysops can update their BBS ads databases in real time.
  68.       ∙ Allows the use of up to 10 different archiving programs, all user-
  69.         configurable. Any archiving program used that is not listed above will
  70.         be identified using the file extension only, until it's signature is
  71.         determined and incorporated into the program.
  72.       ∙ Uses a recursive processing routine that will allow (theoretically)
  73.         unlimited nested archives (the only limit is imposed by DOS). This
  74.         routine has been tested to 5 levels deep as of this writing.
  75.       ∙ Allows the use of up to 5 different file-checking programs, all user-
  76.         configurable, for virus and trojan checking, etc.
  77.       ∙ Allows the use of up to 5 different GIF file checking programs, all
  78.         configurable, for integrity, etc..
  79.       ∙ User-definable disposition (rename or delete) of corrupted, duplicate
  80.         or other archives (not virus-related).
  81.       ∙ User-definable disposition (rename or delete) of virus-infected
  82.         archives.
  83.       ∙ Incorporates it's own CRC-32 duplicate checking system, as well as the
  84.         associated database processing software. No more shelling out to (and
  85.         registering!) third-party duplication-checking software, sacrificing
  86.         speed and memory. The amount of duplication allowed is user-selectable.
  87.         The internal duplicate checking routine can be disabled in favor of an
  88.         alternative third-party system. This system is extremely fast with ARJ
  89.         and ZIP archives, and it's database is much smaller than other systems.
  90.       ∙ Converts all uploads into a default archive format of your choosing,
  91.         or they may be re-archived in their original format (user-defined).
  92.         Nested archives can also be converted to your default format, or
  93.         re-archived using their original format. SFX archives can be archived
  94.         using your default format, or optionally left alone after verification.
  95.       ∙ Can utilize a user-defined time window (in months) for acceptance of
  96.         new upload files, based on the most recent file date in the archive.
  97.       ∙ Changes all archive file attributes to 'read/write' from 'read-only'.
  98.       ∙ Supports the use of private and public upload directories. Moves files
  99.         and upload descriptions from the private directory to the public
  100.         directory.
  101.       ∙ Honors the '/' identifier in the description marking the file as a
  102.         private upload for the sysop by processing the file, but not making
  103.         it public.
  104.       ∙ Supports the use of DESC.SDI and FILE-ID.DIZ description files in an
  105.         archive, user-configurable, for those not running PCBoard 14.5a+ and
  106.         PCBDESC.
  107.       ∙ Can optionally insert an archive information line in the file
  108.         description that contains the number of files, total uncompressed size,
  109.         oldest file date, and most recent file date. The information line
  110.         format and content is defined by the user.
  111.       ∙ Two modes of testing are available: normal mode, which fully unpacks
  112.         the archive and tests each file individually; and fast mode, whichs
  113.         scans a ZIP or ARJ archive directly for file CRCs and dates, and uses
  114.         the archiving program's internal integrity testing.
  115.       ∙ The online tester will accept a redirected ARJ or PKUNZIP archive
  116.         listing file to verify the duplication and age limits before a user
  117.         uploads the actual archive, saving him grief and gnashing of teeth.
  118.       ∙ Includes a drop-in replacement utility for PCBoard's TESTFILE.EXE
  119.         utility called ULPID, that returns an errorlevel based upon archive
  120.         signature, not the file extension.
  121.       ∙ User-selectable process logging to a disk file.
  122.       ∙ Written mostly in C (and a little assembler) for optimal speed, using
  123.         Borland C++ 3.0 and Turbo Assembler 3.0.
  124.       ∙ Lifetime registration; pay ONCE and your registration number will work
  125.         on all future versions!
  126.  
  127.  
  128. ┌─────────────────────────────────────────────────────┐
  129. │  3. Files Included in the ULP Distribution Archive  │
  130. └─────────────────────────────────────────────────────┘
  131.  
  132.         ULP.EXE         Event upload processing program.
  133.         ULPTEST.EXE     On-line testing program for use in PCBTEST.BAT.
  134.         ULPDB.EXE       CRC-32 database creation and maintenance program.
  135.         ULPID.EXE       Drop-in replacement for PCBoard's TESTFILE.EXE.
  136.         ULPADS.EXE      BBS ads database maintenance program.
  137.         ULPADS.DB       BBS ads database file.
  138.         ULP.DOC         This file.
  139.         ULP.CFG         Sample configuration file for the ULP system.
  140.         HISTORY.TXT     ULP revision history in reverse order.
  141.         ULPBLT          Archive verification bulletin for sysops to post.
  142.         PCBTEST.BAT     Sample PCBTEST.BAT file for using ULPTEST and ULPID.
  143.         REGISTER.FRM    Registration form for ULP.
  144.         FILE_ID.DIZ     Internal description file.
  145.  
  146. When you unzip the distribution archive, you should see my PKZIP authenticity
  147. verification stamp, and a '-AV' after every file in the archive:
  148.  
  149.         # SSU301    The Bloom Beacon-Picayune BBS
  150.  
  151. If there are any files missing or added, or the -AV stamp is missing, the
  152. archive has been tampered with. It would be advisable to call my BBS (listed at
  153. the top of this document) for the latest version of ULP.
  154.  
  155.  
  156. ┌───────────────────────────┐
  157. │  4. Program Requirements  │
  158. └───────────────────────────┘
  159.  
  160. To the best of my knowledge, this program will run on most any machine capable
  161. of running PCBoard 14.x. I have personally tested and developed ULP on the
  162. following machines, with no problems:
  163.  
  164.         10 MHz 80286 computer (CompuAdd) with:
  165.            ∙ PCBoard 14.5a/D
  166.            ∙ 1 megabyte of motherboard memory with a 2 megabyte EMS card
  167.            ∙ 115 megabytes of MFM hard disk space
  168.            ∙ MS-DOS 5.0 with 4DOS 4.0 command interpreter
  169.            ∙ EGA graphics subsystem
  170.            ∙ NAS16550AFN serial port UARTs
  171.  
  172.         33 MHz 80386 computer (Zeos) with:
  173.            ∙ 8 megabytes of motherboard memory
  174.            ∙ 130 megabytes of IDE hard disk space
  175.            ∙ MS-DOS 5.0 with 4DOS 4.0 command interpreter
  176.            ∙ DESQview 2.32 and QEMM 5.12
  177.            ∙ SVGA graphics subsystem
  178.            ∙ 8250A/16450 serial port UARTs
  179.  
  180. Other sysops that I have been in contact with have successfully implemented ULP
  181. on setups with CD-ROMs, networks (Ethernet and LANtastic) and other varying
  182. hardware.
  183.  
  184. ULP has been developed and tested using the following archiving and file
  185. checking software packages:
  186.  
  187.         ARJ 2.30 (by Robert Jung)
  188.         HYPER 2.5 (by P. Sawatzki and K. P. Nischke)
  189.         LHA 2.13 (by Haruyasu Yoshizaki)
  190.         LHarc 1.13c (by Haruyasu Yoshizaki)
  191.         PAK 2.51 (by NoGate Consulting)
  192.         PKPAK 3.61 (by PKWare)
  193.         PKZIP 1.10 (by PKWare)
  194.         PKZIP 1.93 Alpha (by PKWare)
  195.         ZOO 2.10 (by Rahul Deshi)
  196.         SCAN 8.3V86 (by McAfee Associates)
  197.         GIFTEST 4.0 Beta (by Dave Navarro)
  198.  
  199. The ULP system requires DOS 3.x or later, as it uses DOS SHARE-compatible file
  200. reads and writes, and uses the DOS PATH to find the archiving and other
  201. utilities.
  202.  
  203. ULP's memory requirements are relatively small (about 128K or so, plus the disk
  204. buffer allocated), but all programs are spawned or shelled, which reduces the
  205. free memory for the program being executed. It would be a good idea to have as
  206. much free conventional memory as possible (ULP itself cannot use EMS or XMS
  207. memory, and really couldn't use it I wanted to), especially if you use the ARJ
  208. compression system, which requires in the neighborhood of 280K itself to run.
  209.  
  210. ULPDB also should have as much conventional memory as possible, as it performs
  211. its sort in memory for optimal speed. If your duplication database is larger
  212. than 384KB (over 65,000 file CRCs), ULPDB will utilize a segmented sort
  213. algorithm, which is a little slower but capable of handling a database up to
  214. 6MB in size (over 1,000,000 file CRCs)! The memory sort will probably be fine
  215. for most systems, as 65,000 files would probably average out to be about 7,000
  216. to 8,000 typical archives. If anyone creates a database more than 6MB in size,
  217. please contact me as I can implement another routine that could handle up to a
  218. 16MB database...
  219.  
  220. A hard disk is required (and not very many BBSes don't have them) so it goes
  221. without saying (although I did anyway; someone is bound to ask...).
  222.  
  223. Obviously, the 286+ version of these programs that is available to registered
  224. users will not run on a 8088, 8086 or 80186 based computer. So don't try it (I
  225. haven't, so I don't have a clue what will happen...probably a lock-up...).
  226.  
  227.  
  228. ┌───────────────────┐
  229. │  5. Registration  │
  230. └───────────────────┘
  231.  
  232. The ULP system is not free; nor is ULP is crippled to force registration. ULP
  233. is fully functional, and will always remain so. The only variation with the
  234. registered copies is no time delay and beg message.
  235.  
  236. Why register? Besides a clean conscience, you will get two registration codes
  237. that will work for all future versions of ULP, and will remove the delay and
  238. message at the end of execution of each program.
  239.  
  240. Why two codes? Well, the first code is for the shareware version of ULP, and
  241. the second code is for the 286+ version of ULP that is made available only to
  242. registered users of ULP. This version is slightly smaller and faster than the
  243. shareware, 086+ version.
  244.  
  245. Also, registered users get a large time limit and unlimited downloading from
  246. my BBS, if they choose to do so...
  247.  
  248. The registration fee for your unique codes is $15. Other variations are
  249. available; refer to the file REGISTER.FRM for all registration options. Please
  250. print the file REGISTER.FRM and fill it out. You can print out the form by
  251. issuing the following command from the DOS prompt:
  252.  
  253.         TYPE REGISTER.FRM > PRN
  254.  
  255.  
  256. ┌───────────────────────────────────────┐
  257. │  6. License, Warranty and Disclaimer  │
  258. └───────────────────────────────────────┘
  259.  
  260. I'll keep this part short and sweet, and dispense with the legal-ese:
  261.  
  262.         License: You are allowed to use ULP for 30 days, after which you must
  263.            either register ULP or stop using it completely. ULP registration is
  264.            a license for your use of ULP; I retain ownership of the software. A
  265.            single registration applies to a single BBS system, regardless of
  266.            the number of computers used in the system. If you run two or more
  267.            distinct BBS systems on the same computer (with different names),
  268.            you require two or more ULP registrations.
  269.  
  270.         Warranty: There isn't one. The only thing I'll guarantee is that ULP
  271.            will take up disk space.
  272.  
  273.         Disclaimer: I'm not responsible for anything bad that happens. ULP
  274.            works here, but I cannot be held responsible for it not working on
  275.            your computer or doing any damage to hardware or software.
  276.  
  277. If these aren't agreeable with you, then the best thing to do is delete ULP
  278. right now. I'll do my best to help any user (registered or not) that wants to
  279. use ULP, and I'll act on bug reports quickly, but I simply cannot and will not
  280. be responsible for anything bad, like lost data, disk crashes, or whatever
  281. else you can think of.
  282.  
  283.  
  284. ┌──────────────────────────────┐
  285. │  7. Principles of Operation  │
  286. └──────────────────────────────┘
  287.  
  288. Since the ULP system is made up of several interoperating programs, this
  289. overview and concept explanation should help you understand how ULP is
  290. designed to be used.
  291.  
  292. *******************************************************************************
  293.      READ THIS SECTION VERY CAREFULLY, AS IT WILL MAKE LIFE MUCH EASIER!!!
  294. *******************************************************************************
  295.  
  296. I believe that all responsible BBS sysops verify all of their uploads prior to
  297. posting them, in order to protect both themselves and their users. ULP is
  298. designed with idea in mind. Most, if not all, sysops process uploads in one of
  299. two ways (listed with benefits and liabilities as I see them):
  300.  
  301.         1) Make all uploads private, processing them during a system event.
  302.  
  303.            BENEFITS:
  304.               ∙ Does not take up any on-line time on the user's part to
  305.                 process archives.
  306.               ∙ Allows the conversion of all archives to a default format,
  307.                 so that the BBS archives are consistent.
  308.               ∙ Allows the BBS to accept any archive format...face it, it's
  309.                 hard enough to get some of these weenies to upload, much
  310.                 less compress them the same way.
  311.  
  312.            LIABILITIES:
  313.               ∙ Files are not available immediately for download.
  314.               ∙ Does not catch duplicates or aged archives until after the
  315.                 user has uploaded them, and perhaps leads to abuse by
  316.                 clever (?) users. (It is assumed that these sysops still
  317.                 use the venerable 'PKUNZIP -T' in their PCBTEST.BAT...)
  318.  
  319.         2) Process (test) each upload online after the user uploads them.
  320.  
  321.            BENEFITS:
  322.               ∙ Catches duplicate, defective and aged archives while the
  323.                 user is online, denying him upload credits.
  324.               ∙ Files are available immediately for download if they are not
  325.                 made private in the PCBoard setup.
  326.  
  327.            LIABILITIES:
  328.               ∙ Takes up on-line time for a user, potentially adding to his
  329.                 long-distance phone bill, discouraging further uploading;
  330.                 this process is typically quite slow for large archives.
  331.               ∙ The archive format cannot be converted (a limitation of
  332.                 PCBoard), leaving many different archive formats in your
  333.                 BBS directories. Because of this, many sysops force users
  334.                 to use a specific format, which may or may not be consistent
  335.                 with other BBS's the user calls.
  336.  
  337. The ULP system takes the best of both of these methods of testing. ULP.EXE is
  338. an event-mode processor which will fully process every archive found in the
  339. source upload directory, including archive format conversion, and move the
  340. file and description to the destination directory. In the base setup, you MUST
  341. run ULP.EXE in your event to completely process all uploads to your system.
  342.  
  343. ULPTEST.EXE is an on-line processor, with a twist: it doesn't recompress the
  344. archive. It does absolutely nothing more than testing; this will greatly reduce
  345. the amount of on-line time the user is forced to waste waiting for file
  346. processing. The conversion process is handled by ULP during the system event.
  347.  
  348. Pay attention to this part:
  349.  
  350. PCBoard normally has two upload directories for each conference: a private and
  351. a public directory. When PCBoard invokes PCBTEST.BAT, the upload is in the
  352. private directory. If the archive fails the testing, it will remain there.
  353. However, if it passes, one of two things will occur; if you have made all
  354. uploads private, the file will remain in the private directory; if you have not
  355. made uploads private, it will be moved to the public directory.
  356.  
  357. There lies the rub: since ULPTEST.EXE only tests the archive, ULP.EXE must
  358. reprocess it (performing more elaborate tests and converting the archive
  359. format), and ULP.EXE is designed to move the file and description to a new
  360. location after testing, presumably to prevent users from getting to untested
  361. files.
  362.  
  363. If you have made all uploads private, then setup and configuration of ULP is a
  364. snap: the source directory is the private upload directory, and the destination
  365. is the public directory. However, if you want to allow users to get to the
  366. public upload directory, then you must make a SECOND upload directory (in
  367. DLPATH.LST, just like another directory) for ULP.EXE to move files to. In this
  368. case, the source directory would be the public directory that PCBoard has
  369. tossed the files into after testing, and the desination directory is the new
  370. upload directory you have created in the DLPATH.LST file. To illustrate the
  371. operation:
  372.  
  373.   MAKE ALL UPLOADS PRIVATE           │  ALL UPLOADS AVAILABLE AFTER TESTING
  374.   ───────────────────────────────────┼─────────────────────────────────────
  375.   2 directories:  C:\PRIVATE         │  3 directories:  C:\PRIVATE
  376.                   C:\PUBLIC          │                  C:\PARTIAL
  377.                                      │                  C:\FULL
  378.                                      │
  379.   User uploads a file, gets placed   │  User uploads a file, gets placed
  380.   in C:\PRIVATE by PCBoard.          │  in C:\PRIVATE by PCBoard.
  381.                                      │
  382.   ULPTEST.EXE tests it.              │  ULPTEST.EXE tests it.
  383.                                      │
  384.   PCBoard leaves file in C:\PRIVATE  │  If it passes, PCBoard moves it to
  385.                                      │  C:\PARTIAL; if it fails, PCBoard
  386.                                      │  leaves it in C:\PRIVATE
  387.                                      │
  388.   ULP.EXE reprocesses it and moves   │  ULP.EXE reprocesses it and moves it
  389.   it to C:\PUBLIC                    │  to C:\FULL
  390.  
  391. ULPTEST.EXE also has two modes of operation: normal and fast. The normal mode
  392. decompresses the files, performs file, duplication and age checking, and then
  393. deletes the extracted files and returns to PCBoard. The fast mode DOES NOT
  394. decompress the file; it firsts peforms an archive integrity check, then scans
  395. ARJ and ZIP archives directly for duplicate and age checking, and then returns
  396. to PCBoard (if the archive is not ARJ or ZIP, then normal mode is invoked). In
  397. fast mode, file checking (viruses, etc.) is left for ULP to do (which is why
  398. the above discussion regarding private/public directories is important).
  399.  
  400. ULPTEST.EXE will also accept a redirected ARJ or PKUNZIP listing text file
  401. named VERIFY.ULP as input to pre-verify an upload for a user, before the user
  402. actually spends his time uploading the file only to find out it won't pass the
  403. limits you set.
  404.  
  405.  
  406. ┌───────────────────┐
  407. │  8. Installation  │
  408. └───────────────────┘
  409.  
  410. GENERAL (REQUIRED!):
  411. ───────────────────
  412. Make a subdirectory on your hard drive. For the purposes of this document,
  413. we'll call it "C:\ULP". Unarchive the ULP distribution archive into this
  414. subdirectory. You've more than likely already made it this far, if you're
  415. reading this file. <grin>
  416.  
  417. The ULP system opens several files at once for various reasons. I would
  418. recommend that you have a minimum of FILES=40 in your system CONFIG.SYS file
  419. for a single-node system, since ULPTEST is run in conjunction with PCBoard.
  420.  
  421. If you are running PCBoard under a network or a multitasking operating system,
  422. you should already have DOS's SHARE.EXE loaded. You must have SHARE loaded in
  423. order to take advantage of the file sharing and locking methods used by the ULP
  424. programs to prevent data loss. (If you are running a single-node system without
  425. a multitasker, SHARE is not needed).
  426.  
  427. Edit the configuration file to suit your needs. Proper configuration will
  428. require you to refer to this section, the previous section and the section
  429. titled "Configuration", which has an in-depth explanation of each configuration
  430. parameter and its function. It would probably be wise to fire up your printer
  431. for this document...
  432.  
  433. For this document, we'll assume the name of your configuration file is
  434. "ULP.CFG".
  435.  
  436. Note that for any of the ULP programs, you can obtain a limited program syntax
  437. screen simply by executing the program with no arguments.
  438.  
  439. FOR EVENT-MODE UPLOAD PROCESSING (REQUIRED!):
  440. ────────────────────────────────────────────
  441. As a minimum setup, you MUST run ULP as an event-mode processor, as ULP.EXE
  442. handles all of the CRC database updating, archive conversion, file and
  443. description moving, archive information line computation, and other features.
  444.  
  445. Further, ULP requires that you have 2 upload disk directories and 2 upload
  446. DIRxx files. They can be either a private/public setup or 2 public directories
  447. setup, as described below (and in the theory section):
  448.  
  449.       - PRIVATE/PUBLIC SETUP:  This setup will not allow users to get to any
  450.         archive that has not been fully processed. In PCBSETUP, under Main
  451.         Board Configuration (and any other conferences you want ULP to
  452.         process), make all uploads private. Define a private upload
  453.         directory and a private DIRxx file (which should have already been
  454.         done, since all sysop-only uploads are placed here by PCBoard). Also
  455.         create a public upload directory and public DIRxx file. This is how I
  456.         have my system setup.
  457.  
  458.       - TWO (2) PUBLIC DIRECTORY SETUP:  This setup will allow users to
  459.         download archives from both public upload directories; one directory
  460.         has been tested, and the other has been fully tested and converted.
  461.         In PCBSETUP, under Main Board Configuration (and any other
  462.         conferences you want ULP to process), define a private upload
  463.         directory and a private DIRxx file, and a public upload directory
  464.         and a public DIRxx file (this is where PCBoard will place all new
  465.         non-private uploads since you did not make them private). Also
  466.         create a SECOND public upload directory and public DIRxx file, and
  467.         add these to the DLPATH.LST, DLFILE and DLFILE.LST files.
  468.  
  469. To process your uploads during your system event, add the following lines to
  470. your EVENT.SYS file (be sure to change the drive and path as necessary):
  471.  
  472.         C:
  473.         CD \ULP
  474.         ULP ULP.CFG
  475.  
  476. ULP will lock the CRC-32 database, preventing any other program from accessing
  477. them (ULPTEST, specifically). Therefore, I strongly suggest you have all nodes
  478. down when running ULP.
  479.  
  480. FOR THE INTEGRATED CRC-32 DUPLICATION CHECKER (HIGHLY RECOMMENDED):
  481. ───────────────────────────────────────────────────────────────────
  482. Initially, you must create the CRC database from scratch. If you have mostly
  483. ZIP and ARJ files, then this should be very quick (on the order of 10 minutes
  484. per 1000 archives for my 10MHz AT clone). After you edit the configuration
  485. file, go to the ULP directory and this command will create and compile your
  486. database of your current downloadable file base:
  487.  
  488.         ULPDB ULP.CFG ADD:@C:\PCB\GEN\DLPATH.LST
  489.  
  490. The '@' symbol (a '!' may also be used) indicates to ULPDB that the argument is
  491. a list file, not a directory. The list file must have one path per line, and
  492. each path must end with a trailing backslash. In general, you may simply use
  493. your PCBoard DLPATH.LST file, unless you are indexing your downloads.
  494.  
  495. If you would like to include any off-line files in your CRC database (or have
  496. to add files originally not included in the database) you can temporarily copy
  497. your offline files to a temp directory (for the sake of argumentation, let's
  498. call it "C:\TEMP\"; note the trailing backslash). You can then add and compile
  499. them into the CRC database with the following command (no list symbol!):
  500.  
  501.         ULPDB ULP.CFG ADD:C:\TEMP\
  502.  
  503. Note that if you want to add a CD-ROM, or any other write-protected storage
  504. system, you will have to use the WORK_DIR configuration parameter for any
  505. GENERATE or ADD function on this storage media.
  506.  
  507. After you've added the offline files, just delete them from the disk, and if
  508. someone uploads a file that you already have, it will be rejected.
  509.  
  510. Once you have your database built, you should also perform maintenance on the
  511. CRC database files once per day. This will compile any new CRCs from the day's
  512. uploads into the main database, and remove any added by ULPTEST. This is not
  513. required to be done every day, but it will speed the duplicate checking in ULP
  514. and ULPTEST. To perform database maintenance, add the following line to your
  515. PCBoard EVENT.SYS after the event-mode processor has run:
  516.  
  517.         C:                    ──────┐        These lines are repeated
  518.         CD \ULP                     ├─────   for clarity.
  519.         ULP ULP.CFG           ──────┘
  520.         ULPDB ULP.CFG COMPILE
  521.  
  522. ULPDB also locks the CRC-32 database, preventing any other program from
  523. accessing them. I strongly suggest you have all nodes down when running ULP.
  524.  
  525. FOR THE ARCHIVE IDENTIFICATION PROGRAM (OPTIONAL):
  526. ──────────────────────────────────────────────────
  527. NOTE: If you are unfamiliar with the operation of PCBTEST.BAT, you will need
  528. to refer to the PCBoard manual on pages 200-202 for an explanation of
  529. PCBTEST.BAT and TESTFILE.EXE
  530.  
  531. ULPID is the ULP system's file identification program, which is a drop-in
  532. replacement of PCBoard's TESTFILE.EXE. To install it, simply replace the
  533. 'TESTFILE' in your PCBTEST.BAT with 'ULPID ULP.CFG'. This is not required for
  534. ULPTEST to work; it returns an errorlevel in the same manner as TESTFILE, but
  535. uses the same archive signature routine that ULP uses to identify an archive.
  536. For example, if your original line was:
  537.  
  538.         TESTFILE %1 ARC ARJ LZH PAK ZIP ZOO GIF
  539.  
  540. then replace it with:
  541.  
  542.         ULPID ULP.CFG %1 ARC ARJ LZH PAK ZIP ZOO GIF ULP
  543.  
  544. In order to take advantage of the upload pre-verification abilities of
  545. ULPTEST, you must add the extension 'ULP' to the ULPID extension list, or to
  546. the TESTFILE extension list if you choose not to use ULPID. This will allow
  547. the file 'VERIFY.ULP' to pass through the filter created by TESTFILE and ULPID
  548. so that ULPTEST may scan it. DO NOT add 'EXE' to your extension list. ULPID
  549. will automatically determine which format was used to create an SFX, and will
  550. exit with the appropriate errorlevel.
  551.  
  552. FOR THE ONLINE UPLOAD TESTING (OPTIONAL):
  553. ─────────────────────────────────────────
  554. Online testing of archives can greatly reduce the amount of garbage your BBS
  555. can pick up from user's uploading defective archives, ancient files, and
  556. duplicates. The theory that ULPTEST uses is to simply check the archive AS
  557. FAST AS IT CAN for archive integrity, duplication, and age, and then return
  558. the user to greater and better things. ULP.EXE will handle everything else
  559. during the system event.
  560.  
  561. To use ULPTEST.EXE for on-line testing of archives, use the following command
  562. line in PCBTEST.BAT (refer to the sample PCBTEST.BAT included in the ULP
  563. distribution archive, and the PCBoard manual, to get the general logic of
  564. PCBTEST.BAT's operation):
  565.  
  566.         ULPTEST ULP.CFG 1 %1 %2
  567.  
  568. The '1' is the node number (for a single node system, it doesn't matter as long
  569. as the value is between 1 and 256, inclusive). For multi-node systems, use the
  570. %PCBNODE% environment variable in its place (as long as you aren't using the
  571. /NOENV switch in PCBoard):
  572.  
  573.         ULPTEST ULP.CFG %PCBNODE% %1 %2
  574.  
  575. ULPTEST will return a DOS errorlevel of 0 if the archive is OK, and an
  576. errorlevel of 1-9 if there was an error (depending on the error). This allows
  577. the PCBTEST.BAT batch file to branch based upon the results of the ULPTEST. The
  578. appendix to this document lists all of the DOS errorlevels set by various ULP
  579. programs.
  580.  
  581. ULPTEST also creates the requires PCBPASS.TXT and PCBFAIL.TXT for PCBoard to
  582. determine if the archive passed or not.
  583.  
  584.  
  585. ┌────────────────────┐
  586. │  9. Configuration  │
  587. └────────────────────┘
  588.  
  589. The sample configuration file included in the distribution archive is heavily
  590. commented, but some additional information is provided below:
  591.  
  592. GENERAL PARAMETERS:
  593. ───────────────────
  594. REG_CODE
  595.     The registration code EXACTLY as provided to you on your registration
  596.     letter. If this is an unregistered version, comment out this line. Note
  597.     that this is case-sensitive, as the serial number, BBS name and sysop name
  598.     are all encrypted into this code.
  599.  
  600. BBS_NAME
  601.     The BBS name EXACTLY as provided to you on your registration letter. If
  602.     this is an unregistered version, comment out this lines. Note that this is
  603.     case-sensitive!
  604.  
  605. SYSOP_NAME
  606.     The sysop name EXACTLY as provided to you on your registration letter. If
  607.     this is an unregistered version, comment out this line. You get the
  608.     picture by now...
  609.  
  610. DISK_BUFFER
  611.     The size of the disk I/O buffer you wish to allocate in bytes (valid
  612.     values are between 512 bytes and 32768 bytes). Optimal performance is
  613.     obtained with a value that is a multiple of 2048 bytes, since this is the
  614.     size of a typical hard disk cluster. 4096 seems to be a good number for
  615.     me, although a larger size will improve performance somewhat. If you find
  616.     yourself running out of memory when executing archivers or file checking
  617.     programs, reduce this number to increase your available memory. If no value
  618.     is specified, the disk buffer will default to 4096 bytes.
  619.  
  620. LOG_FILE
  621.     All of the ULP programs with the exception of ULPID will write process and
  622.     error information to a log file, if desired. This is the path/filename of
  623.     the log file for ULP to record its activities. Comment out if you don't
  624.     want any disk logging.
  625.  
  626. LOG_MODE
  627.     If you want ULP and ULPTEST to record their statistics and finding for each
  628.     archive processed to the log file, use the VERBOSE keyword. If you only
  629.     want errors and summary statistics logged to disk, use the TERSE keyword or
  630.     comment the line out. VERBOSE mode will quickly produce a large log file,
  631.     but gives much insight into what ULP is doing and why a particular upload
  632.     failed.
  633.  
  634. INT_DESC
  635.     ULP can extract and insert FILE_ID.DIZ and DESC.SDI internal description
  636.     files into the DIRxx files. If you want ULP to insert internal description
  637.     files, type YES; if not, type NO or comment the line out.
  638.  
  639. WORK_DIR
  640.     If you want ULPDB to use a specific directory for decompressing archives
  641.     while generating the database, place the pathname (including the trailing
  642.     backslash). This directory must exist! If you do not desire to use a
  643.     specific directory, comment it out (ULPDB will extract at its current
  644.     location on disk). I would not recommend using a RAM disk, unless you are
  645.     sure that extracted archives will fit on the disk. If an archive will not
  646.     fit onto a RAM disk, ULPDB will flag it as a bad archive in the log file
  647.     and not record its CRCs. The primary purpose for this purpose is to allow
  648.     sysops with CD-ROM, WORM or other write-protected media to add those
  649.     archives to the CRC-32 database.
  650.  
  651. ERR_DISP
  652.     This defines how ULP dispositions archives found to have an error other
  653.     than a file check failure. These kind of errors take the form of ZIP CRCs,
  654.     etc., and are not potentially system damaging. Under some conditions,
  655.     these archives can be restored. If you want ULP to delete the archive and
  656.     description, enter DELETE; if you want ULP to rename the archive to a .ERR
  657.     extension, type RENAME or comment the line out.
  658.  
  659. VIRUS_DISP
  660.     This defines how ULP dispositions archives that fail a file check, such as
  661.     a virus scan. These errors are (obviously) potentially system-damaging. (I
  662.     wouldn't keep them if I were you.) If you want ULP to delete the archive
  663.     and description, type DELETE; if you want ULP to rename the archive to a
  664.     .VRS extension, type RENAME or comment the line out.
  665.  
  666. SCREEN_ARC
  667.     If you want ULP and ULPTEST to screen ZIP archives for DOS reserved
  668.     keywords prior to unpacking them, type YES or comment the line out.
  669.     Otherwise, type NO. This will prevent someone from hanging your system by
  670.     hex-editing an ARJ or ZIP archive and replacing a filename with a DOS
  671.     reserved device keywords (such as COMn, LPTn, PRN, CLOCK$, etc.).
  672.  
  673. UPLOAD DIRECTORIES:
  674. ───────────────────
  675. Each pair of upload directories (one source, and one destination), is denoted
  676. by UL_DIR x, where x is a sequential number. Up to 10 directory pairs can be
  677. processed by ULP. The next 6 keywords are REQUIRED after the UL_DIR statement;
  678. do not comment any of them out or insert other parameters or comments in
  679. between them:
  680.         UL_DIR      = denotes the beginning of a pair of upload directories
  681.                       definition.
  682.         SOURCE_PATH = the directory where the uploads are placed by PCBoard.
  683.                       This must include the trailing backslash! NOTE: if you
  684.                       are using the 2 public directory setup, this parameter
  685.                       will be the INITIAL public upload directory; the same
  686.                       goes for the next two parameters).
  687.         SOURCE_LIST = the source upload directory list file that contains the
  688.                       archive descriptions, including the path.
  689.         SOURCE_HDR  = the number of lines to ignore at the beginning of the
  690.                       source upload directory list file (for headers,
  691.                       detachable header filespecs, etc.)
  692.         DEST_PATH   = the destination directory where the uploads are placed by
  693.                       ULP after successful processing. This must include the
  694.                       trailing backslash!
  695.         DEST_LIST   = the upload directory list file that contains the archive
  696.                       descriptions, including the path. ULP will append this
  697.                       file with the descriptions of successfully processed
  698.                       files.
  699.         DEST_HDR    = the number of lines to ignore at the beginning of the
  700.                       upload directory list file (for headers, detachable
  701.                       header filespecs, etc.)
  702.  
  703. AGE-LIMIT CHECKING:
  704. ───────────────────
  705. AGE_CHK
  706.     If you want ULP to fail an archive based on the date of its most recent
  707.     file, type YES; if not, type NO or comment the line out.
  708.  
  709. AGE_LIMIT
  710.     The maximum age in months, that you will accept for an upload. (If the
  711.     ERR_DISP is set to RENAME, it will be renamed to a .ERR extension).
  712.  
  713. ARCHIVING CONTROL FLAGS:
  714. ────────────────────────
  715. ARC_CVT
  716.     If you want ULP to convert the archive to a default archiving format of
  717.     your choice, type YES; if not, type NO or comment the line out. This only
  718.     affects the 'outside' level of the archive. This flag has no affect on the
  719.     conversion of internal, nested archives.
  720.  
  721. ARC_NEST_CVT
  722.     If you want ULP to convert any internal archives found inside the archive
  723.     to your default archiving format, type YES; if not, type NO or comment the
  724.     line out, and they will be rearchived using the original archiving method
  725.     (using the original extension, even if it isn't that archiver's default
  726.     extension). The benefit of converting archives is it may save some disk
  727.     space; on the down side, it will potentially hose automatic installation
  728.     programs/batch files that may be contained within the archive.
  729.  
  730. SFX_CVT
  731.     If you want ULP to convert a self-extracting (SFX) archive to your default
  732.     archiving format, type YES; if not, type NO or comment the line out. If NO
  733.     is selected, then the archive will be processed, and then left alone if it
  734.     passes (NOT re-archived!). The reasoning for this is the LHA autostart
  735.     batch files and other similar features; they are usually used for novice
  736.     users and for automatic installation. By converting SFX archives, this may
  737.     save some disk space, but can cause inconveniences. For example, if you
  738.     don't have PKZ110.EXE on your BBS, a novice user has no way of obtaining
  739.     the PKZIP utilities from your BBS.
  740.     * NOTE: If there is a BBS ad in a SFX archive, and SFX_CVT is set to 'no',
  741.         the ad will remain in the archive.
  742.  
  743. KEEP_AV
  744.     If you want ULP to keep ZIP archives with authenticity verification stamps
  745.     (-AV) regardless of the other archiving control flags, then set this to
  746.     'yes', or comment it out. If you set this flag to 'no', then the archive
  747.     will be recompressed per the other control flags.
  748.     * NOTE: If there is a BBS ad in a -AV stamped archive, and KEEP_AV is set
  749.         to 'yes', the ad will remain in the archive.
  750.  
  751. KEEP_ENV
  752.     If you want ULP to keep ARJ archives with security envelopes (similar to a
  753.     ZIP -AV) regardless of the other archiving control flags, then set this to
  754.     'yes' or comment it out. If you set this flag to 'no', then the archive
  755.     will be recompressed per the other control flags.
  756.     * NOTE: If there is a BBS ad in a secured archive, and KEEP_ENV is set to
  757.         'yes', the ad will remain in the archive.
  758.  
  759. ARCHIVER DEFINITIONS:
  760. ─────────────────────
  761. Each archiver is denoted by ARCHIVER x, where x is a sequential number. Up to
  762. 10 archivers can be executed by ULP. ULP is capable of automatically detecting
  763. ARC, ARJ, HYP, LZH, PAK, ZIP and ZOO archives. The next 6 keywords are required
  764. after the ARCHIVER statement; do not comment any of them out or insert other
  765. parameters or comments in between them. I would also advise against changing
  766. the command options I have set, unless you have need to do so. Some are there
  767. to ensure uninterrupted processing (e.g. /m1 in LHA). Any other archiver can be
  768. added, if desired; the only requirement is that the archiver must return a DOS
  769. errorlevel so that ULP can determine if it ran properly. If you do not
  770. explicitly define the path to your file checking program(s), it must in a
  771. directory included in the DOS PATH environment variable.
  772. * NOTE: The ARJ and ZIP formats MUST be included for ULP to function properly!
  773.         ARCHIVER    = denotes the beginning of an archiving program
  774.                       definition.
  775.         ARC_EXT     = the extension for this particular archiving format.
  776.         ARC_PRIMARY = if this is the default archiving format you use on your
  777.                       BBS, type YES; if not, type NO.
  778.         ARC_PACK    = the command line to pack archives, including all
  779.                       command-line switches desired. Place the variable
  780.                       @ARCHIVE@ where the filename is to be inserted in the
  781.                       command line and @FILES@ where the filespec is to be
  782.                       inserted. If you want a comment to be inserted, you must
  783.                       include it in the command-line switches. This cannot
  784.                       be a batch file! (DOS re-direction is allowed)
  785.         ARC_UNPACK  = the command line to unpack archives, including all
  786.                       command-line switches desired. Place the variable
  787.                       @ARCHIVE@ where the filename is to be inserted in the
  788.                       command line. This cannot be a batch file! (No DOS
  789.                       re-direction allowed)
  790.         ARC_TEST    = the command line to test archives, including all
  791.                       command-line switches desired. Place the variable
  792.                       @ARCHIVE@ where the filename is to be inserted in the
  793.                       command line. This cannot be a batch file! (No DOS
  794.                       re-direction allowed)
  795.         ARC_ERR     = the errorlevel that the archiver returns upon success.
  796.                       This information should be available in the program's
  797.                       documentation.
  798.  
  799. UNCOMPRESSED FILES TO PROCESS:
  800. ──────────────────────────────
  801. PROC_EXT
  802.     ULP can process selected uncompressed uploads, using this option. Up to 10
  803.     uncompressed file types can be specified by extension. Do not use any
  804.     compression format extensions (ARJ, ZIP, etc.)! Any files that are uploaded
  805.     with one of these extensions and could not be identified by signature will
  806.     be file-checked, duplicate-checked, and compressed using your default
  807.     archiving method. If you do not want to use this feature, simply remove or
  808.     comment out these lines. It probably is not a good idea to have EXE as an
  809.     extension to compress, since ULP is not able to detect ARC, HYP or ZOO
  810.     self-extractors, and they would be packed as an uncompressed archive.
  811.  
  812. FILE-CHECKING (VIRUS SCANNING, ETC.):
  813. ─────────────────────────────────────
  814. Each file checker is denoted by FILE_CHECKER x, where x is a sequential number.
  815. Up to 10 file checking programs can be executed by ULP. The next 2 keywords are
  816. required after the FILE_CHECKER statement; do not comment them them out or
  817. insert other parameters or comments in between them. Any kind of file checker
  818. may be used, such as a virus checker, or a 3rd party CRC duplication checker,
  819. if desired. If you do not explicitly define the path to your file checking
  820. program(s), it must in a directory included in the DOS PATH environment
  821. variable. The only requirement is that it must return a DOS errorlevel,
  822. otherwise ULP has no clue if there was an error or not.
  823.         FILE_CHECKER = denotes the beginning of a file-checker definition.
  824.         FILE_CHK_CMD = the command line to execute each file checker,
  825.                        including all command-line switches. Place the variable
  826.                        @FILES@ where the filespec is to be placed on the
  827.                        command line. This cannot be a batch file! (No DOS
  828.                        re-direction allowed)
  829.         FILE_CHK_ERR = the errorlevel that the file checking program returns
  830.                        upon success. This information should be available in
  831.                        the program's documentation.
  832.  
  833. GIF FILE CHECKING
  834. ─────────────────
  835. Each GIF file checker is denoted by GIF_CHECKER x, where x is a sequential
  836. number. Up to 5 GIF file checking program(s) can be executed by ULP. In
  837. addition, do not use the GIF file checking program's internal duplicate
  838. checking or file handling abilities, if any. ULP and ULPTEST will take care of
  839. these operations. The next 2 keywords are required after the GIF_CHECKER
  840. statement; do not comment them out or insert other parameters or comments in
  841. between them.
  842.         GIF_CHECKER = denotes a new file checking/virus program definition.
  843.         GIF_CHK_CMD = the command line to execute each GIF file checker,
  844.                       including all command-line switches. Place the variable
  845.                       @FILES@ where the filespec is to be placed on the command
  846.                       line. This cannot be a batch file! (No DOS re-direction
  847.                       allowed)
  848.         GIF_CHK_ERR = the errorlevel that the GIF file checking program returns
  849.                       upon success. This information should be available in the
  850.                       program's documentation.
  851.  
  852. ARCHIVE INFORMATION LINE:
  853. ─────────────────────────
  854. INFO_LINE
  855.     ULP can add a single line of archive information for the benefit of your
  856.     users. The format is completely defined by you. If you want ULP to add a
  857.     single line to the archive description, type YES; if not, type NO or
  858.     comment the line out. Note that the statistics generated by ULP will not
  859.     include any FILE_ID.DIZ or DESC.SDI files found in the archive.
  860.  
  861. INFO_INDENT
  862.     The column where the | marker goes in your directory listing setup. The
  863.     standard PCBoard setup indents to column 32.
  864.  
  865. INFO_FORMAT
  866.     The format that you would like for the information line (do not include
  867.     the '|' character or the space; ULP will add those). This format is
  868.     completely configuration by the user; any ASCII character can be used. To
  869.     include specific information compiled by ULP, just add the variables. The
  870.     legal variables are (must be in all caps):
  871.         @#@      = Number of files in the archive (and nested archives)
  872.         @NEWEST@ = Date of the newest file in the archive
  873.         @OLDEST@ = Date of the oldest file in the archive
  874.         @BYTES@  = The total number of bytes (uncompressed) in the archive
  875.  
  876. ULPTEST TESTING:
  877. ────────────────
  878. TEST_MODE
  879.     This defines how ULPTEST processes an archive. NORMAL indicates a full
  880.     test is to be performed, identical to the ULP event processing except that
  881.     the archive formats are not converted or recompressed (this is a
  882.     limitation of PCBoard). FAST indicates a fast test in which the archive is
  883.     scanned for archive integrity, duplicates, and age without unpacking the
  884.     archive (ARJ and ZIP files only). If this mode is used, it should be held
  885.     for later processing by ULP so that it can be file-checked for viruses,
  886.     etc. Also, FAST mode can only 'see' one level deep in the archive. If you
  887.     have a slow computer and/or hard disk, FAST mode would be preferable for
  888.     your users when large archives are uploaded. If you comment this line out,
  889.     NORMAL mode is assumed. I recommend you use NORMAL mode, and then set a
  890.     limit with the next parameter for when FAST mode will be utilized.
  891.  
  892. TEST_LIMIT
  893.     If NORMAL mode is used, the archive's file size will first be compared
  894.     against this limit (in kilobytes). If it is larger than this number of
  895.     kilobytes, it will be forced into FAST mode to speed the process and
  896.     prevent wasting the user's online time. Entering 0, or commenting the line
  897.     out will disable this feature, resulting in NORMAL mode being used at all
  898.     times. If TEST_MODE is set to FAST, this parameter has no effect. For my
  899.     system, a good value is 200 kilobytes, as anything much bigger than this
  900.     takes quite awhile to decompress, test, and delete the files extracted.
  901.  
  902. BBS ADS FILE REMOVAL:
  903. ─────────────────────
  904. ADS_CHK
  905.     If you want ULP to remove known BBS ads from new uploads during processing,
  906.     type YES; if not, type NO or comment the line out.
  907.  
  908. ADS_DB
  909.     The directory path and name for the BBS ads database. This database can be
  910.     updated by the sysop by using the ULPADS utility (see section 11 of this
  911.     document), freeing the sysop from being reliant on me to maintain the ads
  912.     database. If you find a large number of new BBS ad files, please upload
  913.     them to my board for inclusion into my master ads database.
  914.  
  915. CRC-32 DUPLICATE FILE CHECKING:
  916. ───────────────────────────────
  917. DUPE_CHK
  918.     If you want ULP to use its internal CRC-32 duplication checking, type YES;
  919.     if not, type NO or comment the line out. If you want to use a third-party
  920.     duplication checker, such as ZDCS, you can add it as a file checker
  921.     (above), providing it returns DOS errorlevels so ULP can detect its
  922.     success/failure. I would strongly suggest using ULP's, as it is fast and
  923.     compact, not to mention integrated, eliminating the time to shell to disk
  924.     for each file in each archive to be tested.
  925.  
  926. DUPE_LIMIT
  927.     The maximum percentage of duplication allowed for a file to pass. Anything
  928.     larger will fail (0 will allow no duplications at all, while 100 will
  929.     allow everything to pass). I would suggest this number be set to at least
  930.     50, as some program authors don't modify every file, especially with
  931.     maintenance releases.
  932.  
  933. DUPE_DB
  934.     The path and name for the CRC-32 database file. It's a good idea to keep
  935.     the database, index, and new data files all together, just to make things
  936.     easier.
  937.  
  938. DUPE_IDX
  939.     The path and name for the CRC-32 database file index.
  940.  
  941.  
  942. ┌────────────────────────┐
  943. │  10. Manual Operation  │
  944. └────────────────────────┘
  945.  
  946. While the ULP system is mostly automatic, there are occasions where some
  947. operations may have to be done manually.
  948.  
  949. During the course of operation, ULP will rename archives that have been found
  950. to be defective in some manner according to the following convention:
  951.  
  952.     .UNK    Unknown archive format
  953.     .DOS    DOS reserved keyword found in archive
  954.     .ERR    Error occurred while unpacking archive (archive integrity failure)
  955.     .VRS    Error found while file checking archive file (virus, etc.)
  956.     .DUP    Excessive duplicate files contained in archive
  957.     .PCK    Error occurred while repacking archive file
  958.     .AGE    Age limit exceeded by archive file
  959.     .BAD    Error found while testing GIF file
  960.  
  961. I would enter these extensions in your UPSEC file, as ULP will automatically
  962. pass over any file with these extensions, presuming that they are defective
  963. archives. Doing so will prevent a user from uploading a file with one of these
  964. "reserved" extensions.
  965.  
  966. If you feel that these files are acceptable after reviewing them, you can force
  967. them to be accepted by adding the command-line switch OVERRIDE to the ULP
  968. command line, e.g.:
  969.  
  970.     ULP ULP.CFG OVERRIDE
  971.  
  972. This will accept the archives regardless of duplication or age limits. It will
  973. not override unpacking, packing, integrity and virus errors, however, for the
  974. safety of your board and your users.
  975.  
  976.  
  977. ┌──────────────────────────┐
  978. │  11. BBS Ads and ULPADS  │
  979. └──────────────────────────┘
  980.  
  981. The ULP system includes a BBS ad removal feature based on CRC-32 calculation of
  982. the file contents and other data. In this fashion, ULP can detect a known ad
  983. file despite the file name and date.
  984.  
  985. In order for sysops to be able to 'keep up' with new ads produced by the weenie
  986. sysops who insert the @!&*#%$ things, I have included a utility called ULPADS
  987. that can scan a BBS ad file, and update the BBS ads with it's information.
  988. Don't worry about duplication, as part of the process is to purge duplicate BBS
  989. ad info. The command-line syntax for the ULPADS.EXE program is simply:
  990.  
  991.     ULPADS DATABASE.AD BBS.AD
  992.  
  993. where 'DATABASE.AD' is the full path and filename for the BBS ads database, and
  994. 'BBS.AD' is the path and filename for the BBS ad file to be added to the ads
  995. database.
  996.  
  997. I would greatly appreciate your uploading of any new BBS ad files that you may
  998. collect over time to my BBS so I can update the master listing that I include
  999. with the ULP distribution archive. Please refer to the top of this document for
  1000. my BBS number.
  1001.  
  1002.  
  1003. ┌───────────────┐
  1004. │  12. Support  │
  1005. └───────────────┘
  1006.  
  1007. If you require support for ULP, I can be contacted by any of the following
  1008. means:
  1009.  
  1010.     ∙ Fidonet Netmail addressed to Stacy Smith, node 1:276/112
  1011.     ∙ Intelec Shareware conference
  1012.     ∙ Intelec PCBoard conference
  1013.     ∙ Salt Air (CDC would probably prefer the Sysop Chatter conference)
  1014.     ∙ The ULP Support conference on my BBS (listed at the top of this
  1015.         document).
  1016.  
  1017.  
  1018. ┌─────────────────────────┐
  1019. │  13. The Future of ULP  │
  1020. └─────────────────────────┘
  1021.  
  1022. ULP will be supported as long as I'm in the BBSing business (which will be
  1023. quite a while...once it's in your blood, you can never shake it <grin>). The
  1024. ULP system will be rapidly expanding it's features so it will be your first
  1025. choice in BBS upload processors. Some current plans:
  1026.  
  1027.       ∙ Incorporate code to handle archives containing explicit paths.
  1028.       ∙ Write a configuration program to ease the configuration process.
  1029.       ∙ Add the ability to preprocess files prior to file checking them;
  1030.         for example, decompress executables that have been PKLite'd.
  1031.       ∙ Support other BBS software directory listing formats.
  1032.  
  1033. If you have any other suggestions, or want other archivers supported, please
  1034. contact me by U.S. snail-mail or on my BBS at the number at the top of this
  1035. document.
  1036.  
  1037. Thanks for giving ULP a try!
  1038.  
  1039.  
  1040. ┌────────────────────────────────┐
  1041. │  Appendix A:  DOS Errorlevels  │
  1042. └────────────────────────────────┘
  1043.  
  1044. The errorlevels returned to DOS by the ULP system programs are consistent
  1045. among all of the programs (primarily with the error conditions); the following
  1046. is a list of the errorlevels than can be returned by the ULP programs, along
  1047. with which programs return the codes:
  1048.  
  1049.         0       Successful execution (ULPTEST, ULPDB, ULPADS)
  1050.         0       Successful execution, archives were processed (ULP)
  1051.         1       Successful execution, nothing to do (ULP)
  1052.         1       Unknown archive format (ULPTEST)
  1053.         2       DOS reserved keyword found in archive (ULPTEST)
  1054.         3       Error unpacking archive (archive integrity) (ULPTEST)
  1055.         4       Error file checking archive files (virus, etc.) (ULPTEST)
  1056.         5       Error duplicate checking archive files (ULPTEST)
  1057.         7       Age limit exceeded by archive files (ULPTEST)
  1058.         9       Bad GIF file (ULPTEST)
  1059.         1-97    Matched extension number in list (ULPID)
  1060.         98      Unmatched archive type (ULPID)
  1061.         99      Help screen (executing the program with no or an insufficient
  1062.                    number of arguments) (All)
  1063.         100     Could not close all open files (ULP, ULPTEST, ULPDB)
  1064.         101     Unknown command line parameter (All)
  1065.         102     Config file not found (All)
  1066.         103     Invalid config file format (All)
  1067.         104     Excessive number of command line parameters defined for
  1068.                    file checker (maximum number of parameters is 10) (ULP)
  1069.         105     Excessive number of command line parameters defined for
  1070.                    archiver (max is 10) (ULP, ULPTEST, ULPDB)
  1071.         106     Excessive number of words defined in archive information
  1072.                    line (max is 10) (ULP)
  1073.         107     No primary archiver defined (ULP)
  1074.         108     Invalid disk buffer size (All)
  1075.         109     Upload directory list file(s) not found (ULP, ULPTEST)
  1076.         110     Unable to allocate heap memory (All)
  1077.         111     Unable to open or lock disk logging file (ULP, ULPTEST, ULPDB)
  1078.         112     Invalid registration code or attempting to run 286+ version
  1079.                    without registering (ULP, ULPTEST, ULPDB)
  1080.         113     Unable to open/lock CRC database file(s) (ULP, ULPTEST, ULPDB)
  1081.         114     Unable to open BBS ads database file (ULP, ULPADS)
  1082.         115     Invalid filename provided by user on command-line (ULPTEST,
  1083.                    ULPID)
  1084.         116     Invalid path provided by user on command-line (ULPDB)
  1085.         117     Invalid node number (valid values are 1 to 256) (ULPTEST)
  1086.         118     CRC database usage not enabled (configuration file parameter
  1087.                    DUPE_CHK is set to 'no') (ULPDB)
  1088.         120     Invalid or old database format. (All)
  1089.         200     Undefined error (internal to ULP system program(s))
  1090.